package top.infopub.job.fia.service.impl;

import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.fia.dao.ArPlanDetailDao;
import top.infopub.model.fia.ArPlanDetail;
import top.infopub.job.fia.service.ArPlanDetailService;

@Service
public class ArPlanDetailServiceImpl extends GenericServiceImpl<ArPlanDetail, String> implements
		ArPlanDetailService {

	@Autowired
	private ArPlanDetailDao arPlanDetailDao;
	
	@Override
	public GenericDao<ArPlanDetail, String> getDao() {
		return arPlanDetailDao;
	}

    @Override
    public BigDecimal selectBackCashByWhere(Map<String, Object> where) {
        return arPlanDetailDao.selectBackCashByWhere(where);
    }

    @Override
    public BigDecimal selectOmIncomeByWhere(Map<String, Object> where) {
        return arPlanDetailDao.selectOmIncomeByWhere(where);
    }

}